import request from "@/utils/request";


export function findByUserName(params){
    return request({
        url:'/chat-record/findByUserName',
        method:'get',
        params:params
    })
}


export function findUnreadNums(receiver){
    return request({
        url:'/chat-record/findUnreadNums/'+receiver,
        method:'get'
    })
}

export function selectOnlineInquiryPatientList(sender){
    return request({
        url:'/chat-record/selectOnlineInquiryPatientList/'+sender,
        method:'get'
    })
}